/*
author:  陈楚城
create:  2019.4.28
description：学生住宿信息的实体类
*/
package edu.uni.dormitory.bean;

import java.util.Date;
/*
学生住宿信息实体类
 */
public class StudentBed {
    //数据表唯一ID
    private Long id;
    //学生基本信息ID
    private Long studentId;
    //所在宿舍床位ID
    private Long liveBedId;
    //离开时间
    private Date leaveDate;
    //入住时间
    private Date liveDate;
    //宿管中心是否同意 0：待审 1：同意 -1：不同意
    private Byte status;
    //创建时间
    private Date datetime;
    //创建人
    private Long byWho;
    //本记录是否有效 0：有效 1：无效
    private Long deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getLiveBedId() {
        return liveBedId;
    }

    public void setLiveBedId(Long liveBedId) {
        this.liveBedId = liveBedId;
    }

    public Date getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(Date leaveDate) {
        this.leaveDate = leaveDate;
    }

    public Date getLiveDate() {
        return liveDate;
    }

    public void setLiveDate(Date liveDate) {
        this.liveDate = liveDate;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public Long getByWho() {
        return byWho;
    }

    public void setByWho(Long byWho) {
        this.byWho = byWho;
    }

    public Long getDeleted() {
        return deleted;
    }

    public void setDeleted(Long deleted) {
        this.deleted = deleted;
    }
}